<input type="hidden" name="accuser.text" id="accuser_text">
<select id="accuser" lay-ignore class="ukefu-select" name="accuser" style="width: 100%"  onChange="$('#accuser_text').val($(this).find('option:selected').text());">
	<option value="">请选择受理人</option>
	<#if userList??>
	<#list userList as deptUser>
	<option value="${deptUser.id!''}" <#if workOrders?? && workOrders.accuser?? && workOrders.accuser == deptUser.id>selected="selected"</#if>>${deptUser.username!''}（${deptUser.uname!''}）</option>
	</#list>
	</#if> 
</select>

<script>
	$(document).ready(function() {
		$("#accuser").select2({minimumResultsForSearch: Infinity});
	});
</script>